from  django.urls import re_path
from  . import  views,post,auth
from .PostClass import addbase
urlpatterns =[
    re_path('^$',views.test),
    # 登陆校验
    re_path('^_checklogin',auth.LoginCheck.as_view()),

    # 获取用户基本信息
    re_path('^_getuserinfomation',auth.Getuserinfomation.as_view()),

    # 新增用户
    re_path('^_adduser',auth.Adduser.as_view()),

    # 新增角色
    re_path('^_addrole',auth.Addrole.as_view()),








    # 商品新增
    re_path('^_myomssetGoods',addbase.AddGoods.as_view()),

    # 商品新增
    #re_path('^_myomssetGoods',addbase.AddBase.as_view()),


    # re_path('^auth/list$',views.getauth),
    # re_path(r'^add_grade/', post.AddGrade.as_view()),
    # re_path(r'^get_userinfo$', auth.Auth.as_view()),
]